package com.wanglei.service;

import com.wanglei.domain.ResponseResult;
import com.wanglei.domain.dto.AddLinkDto;
import com.wanglei.domain.entity.Link;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanglei.domain.vo.LinkVo;

/**
* @author MrWang
* @description 针对表【sg_link(友链)】的数据库操作Service
* @createDate 2023-07-02 20:13:43
*/
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult list(Integer pageNum ,Integer pageSize ,String name ,String status);

    ResponseResult addLink(AddLinkDto addLinkDto);

    ResponseResult getLinkById(Long id);

    ResponseResult updateLink(LinkVo linkVo);

    ResponseResult deleteLink(Long id);
}
